Export this symbol for loading an XPM from memory.
authorHavoc Pennington <hp@pobox.com>
Fri, 22 Oct 1999 21:05:16 +0000 (21:05 +0000)
committerHavoc Pennington <hp@src.gnome.org>
Fri, 22 Oct 1999 21:05:16 +0000 (21:05 +0000)
commit5f3ae6ad67a20cf1fece86c9315b189530f6de9a
tree1e01f71165fb82b2782f645fb8f0e92c16cea70f
parenta3551cc3d0ecd664126ddba8d4919581557ccf52
Export this symbol for loading an XPM from memory.

1999-10-22  Havoc Pennington  <hp@pobox.com>

* src/io-xpm.c (image_load_xpm_data): Export this symbol for
loading an XPM from memory.

* src/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): New
function, loads pixbuf from xpm data
(image_handler_load): Add g_return_if_fail() to ensure the same
module isn't loaded twice. Add g_module_symbol() to scan for XPM
loader function.
gdk-pixbuf/ChangeLog
gdk-pixbuf/gdk-pixbuf-io.c
gdk-pixbuf/io-xpm.c